home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1995 May
/
macformat-024.iso
/
Shareware City
/
Developers
/
CW TCL port package
/
*TCL source.diff
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1995-01-10
|
41.2 KB
|
2,071 lines
|
[
DIFf/DIFf
]
r(Supplementary Info)
fCApplication AE fns.doc
i
fCClipboard AE fns.doc
i
fCDocument AE fns.doc
i
fCEnvirons.doc
i
fCFileElement.doc
i
fConverting To TCL 2.0.doc
i
fCPICTGridDirector.doc
i
fCSwitchboard AE fns.doc
i
fCWindow AE fns.doc
i
fResource TMPLs.doc
i
fUsing CSaver with CList.doc
i
fUsing CSaver.doc
i
o
rApple Event Classes
fCAppleEvent.cp
x187929299,103534475
c0,23
a#include <AERegistry.h> // •• CW TCL
c24,631
e
fCAppleEvent.h
x275804591,150468527
c0,17
a#include "TCL.h" // •• CW TCL
c18,109
e
fCAppleEventObject.cpp
x159157317,531256377
c0,1882
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a msg = gLastMessage; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c1883,1892
a#endif // •• CW TCL
c1893,2155
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c2156,2163
a#endif // •• CW TCL
c2164,2215
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c2216,2223
a#endif // •• CW TCL
c2224,2253
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c2254,2261
a#endif // •• CW TCL
c2262,2283
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c2284,2291
a#endif // •• CW TCL
c2292,2315
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c2316,2323
a#endif // •• CW TCL
c2324,2344
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL
a { // •• CW TCL
a err = gLastError; // •• CW TCL
a } // •• CW TCL
a#else // •• CW TCL
c2345,2352
a#endif // •• CW TCL
c2353,2370
e
fCAppleEventObject.h
x466510104,170689210
c0,20
a#ifndef __AEOBJECTS__ // •• CW TCL
a#include <AEObjects.h> // •• CW TCL
a#endif // •• CW TCL
a#include "TCL.h" // •• CW TCL: removed <>
c22,234
e
fCAppleEventSender.cpp
x300293970,263959070
c0,13
a#include "Exceptions.h" // •• CW TCL: removed <>
c15,17
a#include "CSwitchboard.h" // •• CW TCL: removed <>
a#include "CWatchDesc.h" // •• CW TCL: removed <>
a#include "Global.h" // •• CW TCL: added missing header
c20,294
e
fCAppleEventSender.h
i
fCFileElement.cpp
x393777530,77640254
c0,24
a#include "TCLpstring.h" // •• CW TCL: added missing header
c25,230
e
fCFileElement.h
x2124713,389083163
c0,21
a//#ifdef BR_USE_NEW_HELPER // •• CW TCL
a//class CFileElement TCL_AUTO_DESTRUCT_OBJECT , public CAppleEventObject
a//#else // •• CW TCL
aclass CFileElement : public CAppleEventObject
a//#endif // •• CW TCL
c23,55
e
fCProperty.cpp
x448828269,96316305
c0,12
a#ifdef __MWERKS__ // •• CW TCL
a#include <AERegistry.h> // •• CW TCL: added missing header
a#endif // •• CW TCL
c13,150
e
fCProperty.h
x249114375,359604295
c0,18
a//#ifdef BR_USE_NEW_HELPER // •• CW TCL
a//class CProperty TCL_AUTO_DESTRUCT_OBJECT , public CAppleEventObject
a//#else // •• CW TCL
aclass CProperty : public CAppleEventObject // •• CW TCL
a//#endif // •• CW TCL
c20,47
e
fCWatchDesc.cpp
x37982565,344393039
c0,13
a#ifdef __MWERKS__ // •• CW TCL
a#include "Global.h" // •• CW TCL: added missing header
a#endif // •• CW TCL
c14,37
e
fCWatchDesc.h
i
o
rBedrock Exception Library
fBEL #includes.cpp
i
rBRCommon
fBRCommon.h
i
fBRMacWin.h
i
fBRMath.h
i
fBRPriMem.h
i
fBRPriStr.h
i
fBRStdDef.h
i
o
rBRDebug
fBRDbgStr.h
i
fBRPriDeb.h.bed
i
o
rBRExcLib
rHeaders
fBRAutoDe.h
i
fBRBedExc.h
i
fBRBreakC.h
i
fBRDelSta.h
i
fBRExcDef.h
i
fBRExcept.h
i
fBRExcLib.h
i
fBRExcLog.h
i
fBRExcRun.h
i
fBRExcTas.h
i
fBRNewHel.h
i
fBROnStac.h
i
fBRPostEx.h
i
fBRPriDeb.h
i
fBRSExcep.h
i
fBRSExcLo.h
i
fBRSPostE.h
i
fBRTryBlo.h
i
o
o
rBRRunTyp
fBRClaInf.h
i
fBRClaInf.h.bed
i
fBRClaInf.h.tcl
i
fBRRunTyp.h
i
o
rBRTaskG
fBRBedTas.h
i
fBRTaskG.h
i
o
rSource
fBRAutoDe.cpp
i
fBRBedExc.cpp
i
fBrBedTas.cpp
i
fBRBreakC.cpp
i
fBRClaInf.cpp
i
fBRDelSta.cpp
i
fBRExcept.cpp
i
fBRExcLog.cpp
i
fBRExcRun.cpp
i
fBRExcTas.cpp
i
fBRNewHel.cpp
i
fBRPostEx.cpp
i
fBRPriMem.cpp
i
fBRPriStr.cpp
i
fBRTryBlo.cpp
i
o
o
rControl Classes
fCArrowPopupPane.cp
i
fCArrowPopupPane.h
i
fCButton.cp
i
fCButton.h
i
fCCheckBox.cp
i
fCCheckBox.h
i
fCGroupButton.cpp
x378000304,464772974
c0,24
c26,58
a if (member(anEnclosure, CGroupButtonEnclosure)) { // •• CW TCL: fix casting bug
a CWindow *w = (CWindow*) anEnclosure; // •• CW TCL
a itsGroupEnclosure = (CGroupButtonEnclosure*) w; // •• CW TCL
a } // •• CW TCL
c61,158
a stream >> (short&) groupID; // •• CW TCL: must cast to reference
c160,161
e
fCGroupButton.h
x432023668,157191324
c0,0
a#include "TCL.h" // •• CW TCL: added missing header
c1,42
e
fCGroupButtonEnclosure.cpp
x70211160,286652831
c0,14
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CPtrArray.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c17,17
c27,27
c16,83
e
fCGroupButtonEnclosure.h
i
fCIconPane.cp
i
fCIconPane.h
i
fCPopupMenu.cp
i
fCPopupMenu.h
i
fCPopupPane.cp
x445732101,160278290
c0,37
aTCL_DEFINE_CLASS_D1(CPopupPane, CPane); // •• CW TCL: sometimes need dynamic refs
c39,39
c39,366
a stream >> (CCollaborator*&) itsMenu; // •• CW TCL: must cast to reference
c368,369
e
fCPopupPane.h
i
fCRadioControl.cp
i
fCRadioControl.h
i
fCRadioGroupPane.cp
x195280440,184651060
c0,187
a stream >> (CCollaborator*&) currentStation; // •• CW TCL: must cast to reference
c189,190
e
fCRadioGroupPane.h
i
fCStdPopupPane.cp
x41918582,415775780
c0,48
c50,335
a#ifdef __INSTALL_MENU_HOOK__ // •• CW TCL
c336,336
a#else // •• CW TCL
a newWidth = titleWidth + titleGap + itsMenu->GetWidth() // •• CW TCL
a + kArrowWidth + kArrowRightInset; // •• CW TCL
a#endif // •• CW TCL
c339,339
c337,685
a stream >> (CCollaborator*&) itsPopupBox; // •• CW TCL: must cast to reference
c687,689
e
fCStdPopupPane.h
i
o
rCore Classes
rCore Headers
fCApplication.h
x136048323,39959883
c0,239
a#ifndef TCL_NO_PATCHES // •• CW TCL
c2,2
c244,244
c241,246
c2,2
a#endif // #ifndef TCL_NO_PATCHES // •• CW TCL
e
fCArray.h
i
fCArrayIterator.h
i
fCBartender.h
i
fCBureaucrat.h
i
fCChore.h
i
fCClipboard.h
i
fCCollaborator.h
i
fCCollection.h
i
fCControl.h
i
fCDecorator.h
i
fCDesktop.h
i
fCDirector.h
i
fCDirectorOwner.h
i
fCDocument.h
i
fCEnvironment.h
i
fCEnvirons.h
i
fCError.h
i
fCFile.h
i
fCMBarChore.h
i
fCMouseTask.h
i
fCommands.h
i
fConstants.h
i
fCPane.h
i
fCPaneBorder.h
i
fCPanorama.h
i
fCPicture.h
i
fCPrinter.h
i
fCRunArray.h
i
fCScrollBar.h
i
fCScrollPane.h
i
fCSizeBox.h
i
fCSwitchboard.h
i
fCTask.h
i
fCView.h
x99354561,485716930
c0,42
a#ifndef __MWERKS__ // •• CW TCL 1.6: why was this there, anyway?
c43,43
a#endif // •• CW TCL 1.6
c44,170
e
fCVoidPtrArray.h
i
fCVoidPtrArrayIterator.h
i
fCWindow.h
i
fGlobal.h
i
o
rCore Sources
fCApplication.asm
x339079643,235419597
c0,18
a#ifndef __MWERKS__ // •• CW TCL
c19,29
a#endif // #ifndef __MWERKS__ // •• CW TCL
c30,46
a#ifdef __MWERKS__ // •• CW TCL
aasm
a#endif // •• CW TCL
c47,48
a#ifndef __MWERKS__ // •• CW TCL
c49,50
a#endif // •• CW TCL: also changed ';' comments to '//'
a clr.l -(sp) // reserve some space
a movem.l a0-a5/d0-d7, -(sp) // save the regs
a move.w 64(sp), d7 // get seg#
c54,57
a move.b #kAllocCanFail, -(sp) // this allocation
a jsr SetAllocation // can fail
a move.b d0, d6 // save old canFail flag
c61,62
a clr.l -(sp) // do a GetResource on
a move.l #'CODE', -(sp) // the code segment
c65,66
a movea.l (sp)+, a3 // save the handle
c62,62
a move.b d6, -(sp) // restore old allocation
c70,73
a jsr FailNIL // returns if OK
c68,68
a move.l origLoadSeg, 56(sp) // store original LoadSeg on stack
a movem.l (sp)+, a0-a5/d0-d7 // restore regs
a rts // return to original LoadSeg
a#ifndef __MWERKS__ // •• CW TCL
c79,79
a#endif // •• CW TCL
c80,82
e
fCApplication.cp
x236347372,340717846
c0,59
a#include "TCLpstring.h" // •• CW TCL: added missing header
c60,72
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CPtrArray.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c74,74
c74,74
c73,92
a#ifndef __MWERKS__ // •• CW TCL: not needed
c93,93
a#endif // ## ifndef __MWERKS__ // •• CW TCL
c102,103
c96,503
a#ifndef TCL_NO_PATCHES // •• CW TCL: okay, mostly no patches
c504,506
a#endif // •• CW TCL
c528,528
c512,512
c512,512
c532,532
c511,523
a#ifndef TCL_NO_PATCHES // •• CW TCL
c524,525
a#endif // •• CW TCL
c530,530
c555,555
c590,590
c529,1259
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c1287,1287
a#else // •• CW TCL
a catch_all_() // •• CW TCL
a#endif // •• CW TCL
c1275,1275
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c1298,1301
a#else // •• CW TCL
a short err = gLastError; // •• CW TCL
a if (err != kSilentErr) // •• CW TCL
a ErrorAlert(err, gLastMessage); // •• CW TCL
a HiliteMenu(0); // •• CW TCL
a#endif // •• CW TCL
c1286,1286
c1303,1304
c1271,1271
c1270,1286
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c1260,1261
c1289,1302
a#else // •• CW TCL
a catch_all_() // •• CW TCL
c1329,1329
a short err = gLastError; // •• CW TCL
a if (err != kSilentErr) // •• CW TCL
a ErrorAlert(err, gLastMessage); // •• CW TCL
a HiliteMenu(0); // •• CW TCL
a } // •• CW TCL
a#endif // •• CW TCL
c1267,1268
c1319,1322
c1309,1332
a while (iter.Next((void*&) chore))
c1719,1719
c1335,2421
a while (iter.Next((void*&) doc))
c2459,2459
c833,833
c2425,2457
a while (iter.Next((void*&) doc))
c2459,2465
a#if defined(__MWERKS__) && !defined(TCL_POWER_PC) \
a && !defined(TCL_NO_PATCHES) // •• CW TCL
a#include "CApplication.asm" // •• CW TCL
a#endif // •• CW TCL
c2466,2466
e
fCArray.cp
i
fCArrayIterator.cp
i
fCBartender.cp
i
fCBureaucrat.cp
x423204698,305092752
c0,407
a stream >> (CCollaborator*&) itsSupervisor; // •• CW TCL: must cast to reference (ARM 5.4)
c409,414
e
fCChore.cp
i
fCClipboard.cp
x46095218,51208012
c0,41
a#include "TCLUtilities.h" // •• CW TCL
c42,889
e
fCCollaborator.cp
x115295655,83800899
c0,35
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CPtrArray.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c38,38
c38,38
c50,52
c39,78
a while (iter.Next((void*&) aDependent)) // •• CW TCL: must cast to reference
c80,88
a while (iter.Next((void*&) aProvider)) // •• CW TCL: must cast to reference
c90,260
a while (iter.Next((void*&) aDependent)) // •• CW TCL: must cast to reference
c262,311
e
fCCollection.cp
i
fCControl.cp
i
fCDecorator.cp
i
fCDesktop.cp
x14033706,448038787
c0,49
a#include "TCLUtilities.h" // •• CW TCL
c50,80
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CPtrArray.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c82,82
c81,855
a LMSetCurActivate((WindowRef) frontWind);
c857,1136
a return (CWindow*) itsWindows->NthItem(index); // •• CW TCL: added cast
c1138,1172
a return (CWindow*) itsWindows->FindItem1(fun, param); // •• CW TCL: added typecast
c1174,1211
e
fCDirector.cp
i
fCDirectorOwner.cp
x431357368,322791397
c0,26
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CPtrArray.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c27,27
c30,30
c42,42
c29,219
e
fCDocument.cp
x168085748,331599082
c0,37
a#include "TCLpstring.h" // •• CW TCL
c38,1273
e
fCEnvironment.cp
i
fCEnvirons.cpp
x213819161,408618949
c0,37
a#include "Global.h" // •• CW TCL: added missing header
c38,234
e
fCError.cp
i
fCFile.cp
i
fCMBarChore.cp
i
fCMouseTask.cp
i
fCPane.cp
x372250152,50868231
c0,19
a#include "Constants.h" // •• CW TCL: added missing header
c20,40
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CStream.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c41,41
c44,44
c62,64
c45,2019
a stream >> (CCollaborator*&) itsEnclosure; // •• CW TCL: must cast to reference
c2021,2038
e
fCPaneBorder.cp
i
fCPanorama.cp
i
fCPicture.cp
i
fCPrinter.cp
i
fCRunArray.cp
i
fCScrollBar.cp
i
fCScrollPane.cp
x44455257,460932787
c0,696
a stream >> (CCollaborator*&) subview; // •• CW TCL: must cast to reference
c698,703
e
fCSizeBox.cp
i
fCSwitchboard.cp
i
fCTask.cp
i
fCView.cp
x53752456,59381728
c0,70
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CPtrArray.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c73,73
c85,87
c74,621
a#if TCL_CW_VERSION>=5
a unsigned long balloonOptions; // •• CW TCL: to match new Univ Hdrs
c690,690
c622,622
c693,693
c623,1302
a stream >> (CCollaborator*&) view; // •• CW TCL: must cast to reference
c35,35
c82,82
e
fCVoidPtrArray.cp
i
fCVoidPtrArrayIterator.cp
i
fCWindow.cp
i
fGlobalVars.cp
i
o
o
rDialog Classes
fCDialog.cp
x133693018,125795098
c0,600
a stream >> (CCollaborator*&) defaultBtn; // •• CW TCL: must cast to reference type
a stream >> (CCollaborator*&) itsPanorama; // •• CW TCL: (ARM 5.4, p69)
c603,604
e
fCDialog.h
i
fCDialogDirector.cp
x232436939,145467584
c0,39
a#include "TCL.h" // •• CW TCL: added missing header
c40,44
aTCL_DEFINE_CLASS_M1(CDialogDirector, CDirector) // •• CW TCL: added RTTI info
c47,47
c47,47
c59,59
c46,146
a itsGopher = gopherInfo.firstGopher? (CBureaucrat*) (gopherInfo.firstGopher)
a : (CBureaucrat*) itsDialog; // •• CW TCL: added typecasts
c151,151
c279,284
c155,168
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL
a catch_all_() // •• CW TCL: substitute untyped exceptions
c170,171
a if (gLastError != kSilentErr)
a ErrorAlert(gLastError, gLastMessage);
c174,174
a#else // •• CW TCL
c169,174
a#endif // •• CW TCL
c175,276
a itsGopher = gopherInfo.firstGopher? (CBureaucrat*) (gopherInfo.firstGopher)
a : (CBureaucrat*) itsDialog; // •• CW TCL: added typecasts
c281,281
c149,154
c285,337
e
fCDialogDirector.h
x63186064,74653758
c0,26
a TCL_DECLARE_CLASS
c28,28
c27,46
e
fCDialogText.cp
i
fCDialogText.h
i
fCDLOGDialog.cp
x203969931,503841338
c0,47
a#ifndef __MWERKS__ // •• CW TCL
a #define PtoCstr(p) p2cstr(p)
a#endif // •• CW TCL
c48,49
a #ifndef __MWERKS__ // •• CW TCL
c50,50
a #endif // •• CW TCL
c51,408
a return foundView? (CView*) foundView : (CView*) itsPanorama; // •• CW TCL: added typecasts
c410,889
e
fCDLOGDialog.h
i
fCDLOGDirector.cp
i
fCDLOGDirector.h
i
fCIntegerText.cp
i
fCIntegerText.h
i
o
rFile Classes
fCDataFile.cp
i
fCDataFile.h
i
fCPictFile.cp
i
fCPictFile.h
i
fCPNTGFile.cp
i
fCPNTGFile.h
i
fCResFile.cp
i
fCResFile.h
i
o
rFW/Tearoffs
fCCharGrid.cp
i
fCCharGrid.h
i
fCFWDesktop.cp
i
fCFWDesktop.h
i
fCGridSelector.cp
i
fCGridSelector.h
i
fCMenuDefProc.cp
i
fCMenuDefProc.h
i
fCPaneMDEF.cp
i
fCPaneMDEF.h
i
fCPatternGrid.cp
i
fCPatternGrid.h
i
fCSelector.cp
i
fCSelector.h
i
fCSelectorMDEF.cp
i
fCSelectorMDEF.h
i
fCTearChore.cp
i
fCTearChore.h
i
fCTearOffMenu.cp
i
fCTearOffMenu.h
i
fGenericMDEF.cp
i
fGenericMDEF.h
i
rWindoid WDEF ƒ
fWindoidWDEF.c
i
fWindoidWDEF.h
i
o
o
rMore Classes
fCBitMap.cp
i
fCBitMap.h
i
fCBitMapPane.cp
x101386957,314291598
c0,14
a#include "CBitMapPane.h" // •• CW TCL: removed <>
a#include "Global.h" // •• CW TCL: removed <>
c17,19
a#ifdef __MWERKS__ // •• CW TCL 1.6
a#include "CStream.tem" // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c19,219
e
fCBitMapPane.h
i
fCStack.cp
i
fCStack.h
i
fCTextEnvirons.cp
i
fCTextEnvirons.h
i
o
rObject I/O
rHeaders
fCBufferedStream.h
x180971000,254244695
c0,11
a#include "CStream.h" // •• CW TCL: removed <>
c13,68
e
fCCountingStream.h
x216268539,371314418
c0,11
a#include "CStream.h" // •• CW TCL: removed <>
c13,40
e
fCFileStream.h
x317632818,314636043
c0,11
a#include "CBufferedStream.h" // •• CW TCL: removed <>
a#include "CDataFile.h"
c14,50
e
fCHandleStream.h
i
fCSaver.h
i
fCSaver.tem
x23808943,231487679
c0,179
a GetObject(*aStream, (T*&) itsContents); // •• CW TCL 1.6: cast to reference
c181,435
e
fCStream.h
x522878674,16017289
c0,17
a#include <stddef.h> // •• CW TCL: for size_t definition
c18,166
c170,190
e
fCString.h
i
fReference.h
i
fStreamResources.h
i
o
rSource
fCBufferedStream.cp
x208576433,177168525
c0,18
a#include "CBufferedStream.h" // •• CW TCL: removed <>
c20,20
a#include "CError.h" // •• CW TCL: removed <>
a#include "TCLUtilities.h" // •• CW TCL: removed <>
a#include "Global.h" // •• CW TCL: removed <>
a#include "StreamResources.h" // •• CW TCL: removed <>
a#include "Exceptions.h" // •• CW TCL: removed <>
c26,451
e
fCCountingStream.cp
i
fCFileStream.cp
x48190746,530471242
c0,30
a#include "CFileStream.h" // •• CW TCL: removed <>
c32,32
a#include "CError.h" // •• CW TCL: removed <>
a#include "TCLUtilities.h" // •• CW TCL: removed <>
a#include "Global.h" // •• CW TCL: removed <>
a#include "StreamResources.h" // •• CW TCL: removed <>
a#include "Exceptions.h" // •• CW TCL: removed <>
c38,311
e
fCHandleStream.cp
x253842250,534441876
c0,18
a#include "CHandleStream.h" // •• CW TCL: removed <>
c20,20
a#include "CError.h" // •• CW TCL: removed <>
a#include "TCLUtilities.h" // •• CW TCL: removed <>
a#include "Global.h" // •• CW TCL: removed <>
a#include "StreamResources.h" // •• CW TCL: removed <>
a#include "Exceptions.h" // •• CW TCL: removed <>
c26,254
e
fCSaver.cp
x174129995,338772096
c0,23
a#ifndef TCL_NO_TEMPLATES // •• CW TCL
c25,25
a#endif // •• CW TCL
e
fCStream.cp
x30510677,182738730
c0,25
a#ifndef __MWERKS__ // •• CW TCL
c26,26
a#else // •• CW TCL
a#ifndef TCL_POWER_PC // •• CW TCL
a#include <ThinkSANE.h> // •• CW TCL: Symantec's version of <SANE.h> is different
a#endif // •• CW TCL: grrr....
a#endif // •• CW TCL
c27,33
a//#include <Pascal.h> // •• CW TCL: <Pascal.h> not used
c35,37
c39,893
c893,914
a GetObject(*this, (CCollaborator*&) obj); // •• CW TCL: must cast to reference
c916,919
c918,918
c920,1004
e
fCString.cpp
x218598635,86469228
c0,10
a#include "TCL.h" // •• CW TCL: added missing header
c11,65
aBoolean pstreq(const char *s, const unsigned char *str) // •• CW TCL 1.6: corrected prototype
c67,67
a const char *end = s + str[0], *dst = s; // •• CW TCL 1.6: added const
c69,172
e
o
o
rPrecompiled Headers
o
rTable Classes
fCArrayPane.cp
x130191239,105905681
c0,278
a stream >> (CCollaborator*&) itsArray; // •• CW TCL: must cast to reference
c280,283
e
fCArrayPane.h
i
fCTable.cp
x527556286,121287104
c0,2011
a#if TCL_CW_VERSION==4 // •• CW TCL
a saveBorder = new CPaneBorder(*itsScrollPane->GetBorder());
a#else // •• CW TCL
c2012,2013
a#endif // •• CW TCL
c2014,2257
a stream >> (CCollaborator*&) itsRows >> (CCollaborator*&) itsCols;
a // •• CW TCL: must cast to reference
c2259,2260
e
fCTable.h
i
fCTableDragger.cp
i
fCTableDragger.h
i
o
fTCL #includes.cpp
x71226469,76803282
c0,12
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL: optional replacement of BEL
c13,13
a#endif // •• CW TCL
c14,92
a#ifndef __MWERKS__ // •• CW TCL: already included
c93,93
a#endif // •• CW TCL
c94,104
a#ifdef Length // •• CW TCL: for new Univ Headers
a#undef Length // •• CW TCL
a#endif // •• CW TCL
c111,111
c105,122
a#ifndef TCL_NO_PRECOMPILED_CLASS // •• CW TCL
c123,131
a#endif // •• CW TCL
c134,134
c199,199
c136,136
c135,139
a#ifndef TCL_NO_PRECOMPILED_CLASS // •• CW TCL
a#ifndef TCL_NO_PRECOMPILED_TEMPLATES // •• CW TCL
c140,152
a#ifndef TCL_NO_PRECOMPILED_WATCHDESC // •• CW TCL
c153,153
a#endif // •• CW TCL
c154,196
a#endif // #ifndef TCL_NO_PRECOMPILED_TEMPLATES // •• CW TCL
a#endif // TCL_NO_PRECOMPILED_CLASS // •• CW TCL
c198,199
e
rTCL Libraries
rTCL Library headers
fCException.h
x425801894,18067076
c0,10
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c15,15
c11,33
c2,2
a#endif // #ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
e
fExceptions.h
x523586618,196990769
c0,11
a#ifdef TCL_USE_PP_EXCEPTIONS // •• CW TCL: replace header if using PowerPlant exceptions
a#include "Exceptions_PP.h"
a#else // •• CW TCL
c15,15
c12,20
a#include "TCLClassInfo.h" // •• CW TCL: removed <>
c22,70
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c71,73
a#else // •• CW TCL
a#define _TCL_DEBUG_CATCH ((void)0);
a#endif // •• CW TCL
c74,110
a#include "BRExcDef.h" // •• CW TCL: removed <>
c112,298
avoid _TCL_CheckPtr(const void *ptr); // •• CW TCL 1.6: corrected prototype
avoid _TCL_CheckObjectPtr(const void* ptr); // •• CW TCL 1.6
c301,343
c342,342
a#endif // #ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
e
fLongCoordinates.h
i
fLongQD.h
i
fOSChecks.h
i
fqsort++.h
i
fTBUtilities.h
i
fTCL.h
i
fTCLClassInfo.h
x31239216,475724982
c0,14
a#ifndef TCL_NO_MULTIPLE_STATIC_INHERITANCE // •• CW TCL: new problems
c19,19
a // •• CW TCL: added prototypes
c15,15
a void* _TCLNew##name(); \
c16,20
a void* _TCLNew##name##_##T(); \
c21,25
a#else // TCL_NO_MULTIPLE_STATIC_INHERITANCE // •• CW TCL
c34,34
c15,15
a void* _TCLNew##name(); \
c16,16
a BR_CClassInfo BR_SHARED_DATA \
a _##name##_gClassInfo(#name, sizeof(name), _##name##_gAncestors); \
a BR_CClassInfo& name::BedStaticGetClassInfo() { return _##name##_gClassInfo; } \
a BR_ClassReference* name::BedGetAncestors() { return _##name##_gAncestors; }
c34,34
a // for now, there’s no template support...
c34,34
a#endif // TCL_NO_MULTIPLE_STATIC_INHERITANCE // •• CW TCL
c34,34
c33,33
c28,150
a#ifndef TCL_NO_MULTIPLE_STATIC_INHERITANCE // •• CW TCL
c151,151
a#else // TCL_NO_MULTIPLE_STATIC_INHERITANCE // •• CW TCL
a#define member(p, T) ((p)->BedVirtualGetClassInfo()->IsKindOf(&T::BedStaticGetClassInfo()))
a#endif // TCL_NO_MULTIPLE_STATIC_INHERITANCE // •• CW TCL
c1,1
c153,153
e
fTCLCoordUtil.h
x435541449,297364550
c0,10
a#ifndef TCL_NO_TEMPLATES // •• CW TCL
c17,17
c11,45
c2,2
a#else // •• CW TCL
c2,2
a#define TCLScale(unscaled, scaleFactor) (unscaled * scaleFactor)
a#define TCLUnscale(scaled, scaleFactor) ((scaled + scaleFactor - 1) / scaleFactor)
a#define TCLCenter(low, high) ((low + high) >> 1)
a#define TCLDimension(low, high) (high - low)
a#define TCLDelta(newValue, oldValue) (newValue - oldValue)
c2,2
a#endif // •• CW TCL
e
fTCLFolderUtilities.h
i
fTCLForceReferences.h
i
fTCLNulls.h
i
fTCLpstring.h
i
fTCLUtilities.h
i
z6720,Exceptions_PP.h
// ______________________________________________________________________
//
// Exceptions_PP.h
// TCL 2.0 CodeWarrior port
//
//
#pragma once
// ______________________________________________________________________
//
// This file stands in the place of the TCL’s Exceptions.h file.
// It provides a wrapper for PowerPlant’s exception handling routines
// within the TCL. Most of the TCL macros are implemented; a few
// that cannot be duplicated are defined to cause compile-time errors.
//
// Limitations:
//
// * You may not use the typed exception handling which was added
// in TCL 2.0. The macros catch_, catch_reference_, and
// catch_no_instance_ are not permitted. You must use
// catch_all_ instead.
//
// * You may not reference the global variables gAskFailure,
// gBreakFailure, _gTCLBreakCatch, _gTCLBreakFailure, or
// _gTCLBreakAssert. These variables do not exist in this
// implementation. The macros which access these variables are
// implemented.
//
// * The PowerPlant header <UException.h> must be installed
// in the CodeWarrior compiler folder. The file <UException.cp>
// must be added to the project.
//
// * If the __TCL_DEBUG__ macro is defined, the PowerPlant header
// <UDebugging.h> must also be installed in the CodeWarrior
// compiler folder. The file <UDebugging.cp> must be added
// to the project.
//
// * Your source may not use the throw_(exception) macro. Error
// reporting must take place through the standard Fail___ routines.
// The throw_same_() macro is permitted.
//
//
// Usage notes:
//
// * If the __TCL_DEBUG__ macro is defined, the PowerPlant macro
// Debug_Throw is also defined. This enables the source-level
// exception debugging mechanism built into the PowerPlant
// library.
//
// * There are two options for handling assertions: You may use
// the TCL-style assertion-failed dialog, or you may use the
// PowerPlant-style debugger break. PowerPlant handling is the
// default. To enable the TCL handling, comment out the macro
// TCL_SOURCE_ASSERT below.
//
#define TCL_SOURCE_ASSERT
// ______________________________________________________________________
//
// bring in the PowerPlant exception library (and a few other definitions)
//
#ifdef __TCL_DEBUG__
#define Debug_Throw
#define Debug_Signal
#endif
#include <UException.h>
#include <Types.h>
#include <AppleEvents.h>
// ______________________________________________________________________
//
// TCL global error variables
//
extern short gLastError; // last error code that caused failure
extern long gLastMessage; // last message code associated with failure
#define kSilentErr 1 // pass to Failure to fail without any user alert
// ______________________________________________________________________
//
// TCL failure routines
//
pascal void Failure(short error, long message);
pascal void Fail(short error);
pascal void FailEvent();
pascal void FailEventMsg(long message);
pascal void FailMemError();
pascal void FailResError();
pascal void FailNIL(void *p);
pascal void FailOSErr( short error);
pascal void FailNILRes(void* p);
pascal void Success();
pascal long SpecifyMsg(short strListID, short strIndex);
pascal void SetFailInfo(short newError, long newMessage);
// ______________________________________________________________________
//
// exception debugging macros
//
#ifdef Debug_Signal
#define _TCL_DEBUG_CATCH \
SignalPStr_("\pEntering catch block")
#define TCL_BREAK_ON_CATCH(bool) \
(gDebugSignal = (bool ? debugAction_SourceDebugger : debugAction_Nothing))
#define TCL_ASK_ON_FAIL(bool) \
(gDebugSignal = (bool ? debugAction_SourceDebugger : debugAction_Nothing))
#define TCL_BREAK_ON_ASSERT(bool) \
(gDebugSignal = (bool ? debugAction_SourceDebugger : debugAction_Nothing))
#else
#define _TCL_DEBUG_CATCH ((void) 0)
#define TCL_BREAK_ON_CATCH(bool) ((void) 0)
#define TCL_ASK_ON_FAIL(bool) ((void) 0)
#define TCL_BREAK_ON_ASSERT(bool) ((void) 0)
#endif
#ifdef Debug_Throw
#define TCL_BREAK_ON_FAILURE(bool) \
(gDebugThrow = (bool ? debugAction_SourceDebugger : debugAction_Nothing))
#else
#define TCL_BREAK_ON_FAILURE(bool) ((void) 0)
#endif
void __TCL_DebugCStr(const char *msg);
// ______________________________________________________________________
//
// exception handling macros
//
#define TRY Try_
#define CATCH \
Catch_(_PP_Err) \
char __TCL_propagate = 1;
#define ENDTRY \
if (__TCL_propagate) \
Throw_('same'); \
EndCatch_
#define NO_PROPAGATE \
__TCL_propagate = 0
#define try_ Try_
#define catch_(class, error) ***Error
#define catch_reference_(class, error) ***Error
#define catch_no_instance_(class, error) ***Error
#define catch_all_() \
Catch_(_PP_Err)
#define end_try_ EndCatch_
#define throw_(exception) ***Error
#define throw_same_() \
Throw_('same') // why not?
#define TCL_EXCEPTION_CLASS ***Error
#define TCL_NEW(class, init) new class##init
#define TCL_END_CONSTRUCTOR
#define TCL_START_DESTRUCTOR
#define TCL_AUTO_DESTRUCT_OBJECT
// ______________________________________________________________________
//
// Failure() message strings defined by the TCL
//
enum {
excMsgNullObject = 1,
excMsgLookupFailed,
excNewByNameFailed,
excPrintJobTooBig,
excExceedTELimit,
excAEStrTooBig,
excAEUserCanceled,
excUnknownException,
excBadFileType,
excLastTCLException = excBadFileType
};
// ______________________________________________________________________
//
// Assertion macros
//
#ifdef __TCL_DEBUG__
short _TCL_assertion_failed(char *conditionStr, char *fileName, int lineNum);
void _TCL_CheckHandle(const Handle);
void _TCL_CheckResource(const Handle);
void _TCL_CheckPtr(const void *ptr); // •• CW TCL 1.6: corrected prototype
void _TCL_CheckObjectPtr(const void* ptr); // •• CW TCL 1.6
void _TCL_CheckDesc(const AEDesc*);
#ifdef TCL_SOURCE_ASSERT
#define TCL_ASSERT(condition) Assert_(condition)
#else
#define TCL_ASSERT(condition) \
((void) ((condition)) || (_TCL_assertion_failed(#condition, __FILE__, __LINE__),1))
#endif // #ifdef TCL_SOURCE_ASSERT
#define TCL_ASSERT_HANDLE(H) _TCL_CheckHandle((Handle) H)
#define TCL_ASSERT_RESOURCE(H) _TCL_CheckResource((Handle) H)
#define TCL_ASSERT_PTR(P) _TCL_CheckPtr((Ptr) P)
#define TCL_ASSERT_OBJECT_PTR(P) _TCL_CheckObjectPtr(P)
#define TCL_ASSERT_DESC(P) _TCL_CheckDesc(P)
#else // #ifdef __TCL_DEBUG__
#define TCL_ASSERT(condition) ((void)0)
#define TCL_ASSERT_HANDLE(H) ((void)0)
#define TCL_ASSERT_RESOURCE(H) ((void)0)
#define TCL_ASSERT_PTR(P) ((void)0)
#define TCL_ASSERT_OBJECT_PTR(P) ((void)0)
#define TCL_ASSERT_DESC(P) ((void)0)
#endif // #ifdef __TCL_DEBUG__
#undef ASSERT
#define ASSERT(condition) TCL_ASSERT(condition)
o
rTCL Library sources
falloc.cp
x331161373,108651653
c0,18
a#ifndef TCL_USE_MW_OPER_NEW // •• CW TCL 1.6
c19,19
a#endif // •• CW TCL 1.6
c20,23
a#ifdef __MWERKS__ // •• CW TCL
a#define TCL_NO_INSPECTOR // •• CW TCL
aBoolean __MMPrimitiveAllocate = 0; // •• CW TCL 1.6
a#endif // •• CW TCL
c27,27
c24,33
a#ifdef TCL_USE_MW_OPER_NEW // •• CW TCL 1.6
a#define OPERATOR_NEW _cw_operator_new // •• CW TCL 1.6
a#define OPERATOR_DELETE _cw_operator_delete // •• CW TCL 1.6
avoid *OPERATOR_NEW(size_t, void *p); // •• CW TCL 1.6
avoid *OPERATOR_NEW(size_t size); // •• CW TCL 1.6
avoid OPERATOR_DELETE(void *ptr); // •• CW TCL 1.6
c38,38
c38,38
a#ifdef TCL_POWER_PC // •• CW TCL 1.6
a#include <NewPPC.cp> // •• CW TCL 1.6
a#else // •• CW TCL 1.6
a#include <New68K.cp> // •• CW TCL 1.6
a#endif // TCL_POWER_PC // •• CW TCL 1.6
a#endif // __MWERKS__ // •• CW TCL 1.6
c38,38
c34,38
a#ifndef TCL_USE_MW_OPER_NEW // •• CW TCL 1.6
c39,48
a#else // •• CW TCL
a p = OPERATOR_NEW(objSize); // •• CW TCL
a#endif // •• CW TCL
c55,55
c50,72
a#ifndef TCL_USE_MW_OPER_NEW // •• CW TCL 1.6
c73,73
a#else // •• CW TCL
a OPERATOR_DELETE(objStorage); // •• CW TCL
a#endif // •• CW TCL
c63,63
e
fExceptions.asm
x92298649,119445813
c0,14
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL: don’t use this file
c18,18
c15,241
a#endif // #ifndef TCP_USE_PP_EXCEPTIONS // •• CW TCL
c2,2
c2,2
e
fExceptions.cp
x45848174,530601535
c0,51
a#ifndef __MWERKS__ // •• CW TCL: not available in CodeWarrior
c52,52
a#endif // •• CW TCL
c53,55
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c56,56
c58,58
a#endif // •• CW TCL
c59,70
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c71,87
a#endif // •• CW TCL
c88,94
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c95,96
a#endif // •• CW TCL
c97,112
a#ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL: this stuff is covered by PP
c113,161
a#endif // #ifndef TCL_USE_PP_EXCEPTIONS // •• CW TCL
c162,179
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c180,180
a#endif // •• CW TCL
c181,196
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c197,197
a#endif // •• CW TCL
c198,213
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c214,214
a#endif // •• CW TCL
c215,236
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c237,237
a#endif // •• CW TCL
c238,256
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c257,257
a#endif // •• CW TCL
c258,309
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c310,310
a#endif // •• CW TCL
c311,325
a#elif defined(TCL_USE_PP_EXCEPTIONS) // •• CW TCL: PP exceptions
c325,325
a gLastError = err; // •• CW TCL
a gLastMessage = message; // •• CW TCL
a Throw_('err '); // ??? perhaps define a constant
c327,327
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL: if we got here, there was no handler
a DebugStr("\pFailure: No handler"); // •• CW TCL
a#endif // •• CW TCL
a ErrorAlert(err, message); // •• CW TCL
a if (gApplication) gApplication->Exit(); // •• CW TCL
a ExitToShell(); // •• CW TCL
c327,327
c326,347
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c348,348
a#endif // •• CW TCL
c466,466
c462,462
c351,433
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c434,434
a#endif // •• CW TCL
c437,437
c32,32
c445,445
c438,463
a#ifndef TCL_NO_DEBUGGER_CALLS // •• CW TCL
c464,464
a#endif // •• CW TCL
c146,146
c34,35
c468,606
a#ifdef __MWERKS__ // •• CW TCL
a#define pascal
a#endif // •• CW TCL
c607,705
e
fLongCoordinates.cp
i
fLongQD.cp
i
fOSChecks.cp
x194725325,165592014
c0,38
a// #if !defined(TCL_POWER_PC) // •• CW TCL: this *is* useful, folks!
c40,78
a// #endif // •• CW TCL
c80,136
a#ifdef __MWERKS__ // •• CW TCL
astatic void AsmCacheFlush() // •• CW TCL
a ONEWORDINLINE(_CacheFlushTrap); // •• CW TCL
a#endif // •• CW TCL
c137,141
c2,2
a#ifndef TCL_POWER_PC // •• CW TCL
a AsmCacheFlush();
a#else // •• CW TCL
a CallOSTrapUniversalProc(GetOSTrapAddress(_CacheFlushTrap), kRegisterBased);
a#endif // •• CW TCL
a
c143,144
e
fqsort++.cp
i
fTBUtilities.cp
x268546175,167648630
c0,151
a PaintOne((WindowRef) macWindow, gUtilRgn); // Draw newly exposed region
c153,157
a CalcVisBehind((WindowRef) macWindow, ((WindowPeek)macWindow)->strucRgn);
c159,436
a#if TCL_CW_VERSION>=5 // •• CW TCL: Univ Hdrs 2.0
a EvQElPtr qEvt = (EvQElPtr) LMGetEventQueue()->qHead;
a#else // •• CW TCL
c437,437
a#endif // •• CW TCL
c438,594
e
fTCLCoordUtilities.cpp
i
fTCLFolderUtilities.cp
x51707376,463242224
c0,10
a#include "TCL.h" // •• CW TCL
c11,471
e
fTCLpstring.cp
x154155038,140285453
c0,13
a//#include <BDC.h> // •• CW TCL: didn’t really need this anyway
c15,102
e
fTCLUtilities.asm
i
fTCLUtilities.cp
i
o
o
fTCL Version.note
i
rTemplates
fCList.cpp
i
fCList.h
i
fCList.tem
i
fCListIterator.cp
i
fCListIterator.h
i
fCList_CView.cpp
x389682597,418442484
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,6
a#else // •• CW TCL 1.6
aclass CList<CView>; // •• CW TCL 1.6
aclass CList<CWindow>; // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c7,10
c2,2
a#include "CPtrArray.tem" // •• CW TCL 1.6
c11,11
a#include "CStream.tem" // •• CW TCL 1.6
a#include "PutObject1.tem" // •• CW TCL 1.6
e
fCPtrArray.cp
i
fCPtrArray.h
i
fCPtrArray.tem
i
fCPtrArrayIterator.cpp
i
fCPtrArrayIterator.h
i
fCPtrArray_CChore.cpp
x279271734,237362088
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,5
a#else // •• CW TCL 1.6
aclass CPtrArray<CChore>; // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c6,9
e
fCPtrArray_CDirector.cpp
x270739850,305329320
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,5
a#else // •• CW TCL 1.6
aclass CPtrArray<CDirector>; // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c6,9
e
fCPtrArray_CView.cpp
x444711567,255748985
c0,3
a#ifndef __MWERKS__ // •• CW TCL 1.6
c4,9
a#else // •• CW TCL 1.6
aclass CPtrArray<CCollaborator>; // •• CW TCL 1.6
aclass CPtrArray<CView>; // •• CW TCL 1.6
aclass CPtrArray<CWindow>; // •• CW TCL 1.6
aclass CPtrArray<CGroupButton>; // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c10,16
e
fCStream.tem
x151535939,151535947
c0,49
a
c51,106
e
fCStream_CBitMap.cpp
x490631420,182514836
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,6
a#else // •• CW TCL 1.6
aCStream& PutObject(CStream&, CBitMap*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CBitMap*&); // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c7,8
e
fCStream_CCollaborator.cpp
x535514564,227789260
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,10
a#else // •• CW TCL 1.6
aCStream& PutObject(CStream&, CCollaborator*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CCollaborator*&); // •• CW TCL 1.6
aCStream& PutObject(CStream&, CView*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CView*&); // •• CW TCL 1.6
aCStream& PutObject(CStream&, CWindow*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CWindow*&); // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c11,12
e
fCStream_CEnvironment.cpp
x518521852,46506296
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,6
a#else // •• CW TCL 1.6
aCStream& PutObject(CStream&, CEnvironment*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CEnvironment*&); // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c7,8
e
fCStream_CEnvirons.cpp
x164286842,492019026
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,6
a#else // •• CW TCL 1.6
aCStream& PutObject(CStream&, CEnvirons*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CEnvirons*&); // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c7,8
e
fCStream_CPaneBorder.cpp
x469483124,268904974
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,6
a#else // •• CW TCL 1.6
aCStream& PutObject(CStream&, CPaneBorder*); // •• CW TCL 1.6
aCStream& GetObject(CStream&, CPaneBorder*&); // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c7,8
e
fPutObject1.cpp
x492085006,457137980
c0,2
a#ifndef __MWERKS__ // •• CW TCL 1.6
c3,6
a#else // •• CW TCL 1.6
avoid PutObject1(CView*, long); // •• CW TCL 1.6
avoid PutObject1(CWindow*, long); // •• CW TCL 1.6
a#endif // •• CW TCL 1.6
c7,8
a#include "CStream.tem" // •• CW TCL 1.6
e
fPutObject1.tem
i
o
rText Classes
fCAbstractText.cp
i
fCAbstractText.h
i
fCEditText.cp
i
fCEditText.h
i
fCStyleTEClipboard.cp
i
fCStyleTEClipboard.h
i
fCStyleTEEditTask.cp
i
fCStyleTEEditTask.h
i
fCStyleTEStyleTask.cp
i
fCStyleTEStyleTask.h
i
fCStyleText.cp
i
fCStyleText.h
i
fCTextEditTask.cp
i
fCTextEditTask.h
i
fCTextStyleTask.cp
i
fCTextStyleTask.h
i
o
rVisual Architect Library
fCColorTextEnvirons.cp
i
fCColorTextEnvirons.h
i
fCFloatDirector.cp
i
fCFloatDirector.h
i
fCGridMDEF.cp
i
fCGridMDEF.h
i
fCIconButton.cp
i
fCIconButton.h
i
fCLine.cp
i
fCLine.h
i
fCPICTGrid.cp
i
fCPICTGrid.h
i
fCPICTGridDirector.cp
i
fCPICTGridDirector.h
i
fCPICTSelector.cp
i
fCPICTSelector.h
i
fCPictureButton.cp
i
fCPictureButton.h
i
fCPolyButton.cp
i
fCPolyButton.h
i
fCRectOvalButton.cp
i
fCRectOvalButton.h
i
fCRoundRectButton.cp
i
fCRoundRectButton.h
i
fCSelectorDirector.cp
i
fCSelectorDirector.h
i
fCShapeButton.cp
i
fCShapeButton.h
i
fCStaticText.cp
i
fCStaticText.h
i
fCSubviewDisplayer.cp
i
fCSubviewDisplayer.h
i
fCSwissArmyButton.cp
i
fCSwissArmyButton.h
i
fCTearOffDirector.cp
i
fCTearOffDirector.h
i
fDialogFunctions.cp
i
fDialogFunctions.h
i
fViewUtilities.cp
i
fViewUtilities.h
i
o
z2480,CW TCLHeaders.c
//
// TCL 2.0 CodeWarrior port
//
// Precompiled headers
//
// Use this file to build the precompiled header file, instead
// of “TCL #includes.cpp” provided by Symantec.
//
// UPDATED FOR CodeWarrior CW/5
// Eric Scouten, 29 Nov 1994
//
// prevent multiple compilations
#ifndef CW_TCL_HDR
#define CW_TCL_HDR
// use Metrowerks’ standard precompiled header file
#ifdef powerc
#include <MacHeadersPPC>
#pragma precompile_target "CW TCLHeadersPPC"
#else
#include <MacHeaders68K>
#pragma precompile_target "CW TCLHeaders68K"
#endif
#undef TRUE // redefined in <THINK.h>
#undef FALSE
#pragma cplusplus on // wonder why this is necessary?
//________________________________________________________________________
//
// several new conditional compilation macros for the CodeWarrior port
//
#define TCL_CW_VERSION 5
// Set this macro to the current release number of CodeWarrior
// (currently CW/5). As features are added to CodeWarrior, this
// macro will be used to maintain compatibility with older
// versions.
//
// NOTE: There is no support for compilation under CW/4 or earlier.
#if TCL_CW_VERSION==5
#define TCL_NO_PRECOMPILED_TEMPLATES
#endif
// In CW/5 it is not possible to precompile template definitions. *sigh*
// This restriction should be lifted for CW/6.
//#define TCL_USE_MW_OPER_NEW
// Flag to use the optional Metrowerks implementation of "operator new".
// Disable to route new/delete directly to NewPtr/DisposePtr, for easier
// debugging.
#define TCL_NO_DEBUGGER_CALLS
// Because all the Debugger() calls aren’t trapped by CW’s source-level
// debugger. It’s just plain annoying to drop into MacsBug all the
// time (especially in PPC code)!
#define TCL_NO_PATCHES
// Because LoadSeg_Patch doesn’t work with CW. Applies only
// to 68K builds.
#define TCL_USE_PP_EXCEPTIONS
// Optional switch to use the PowerPlant exception library instead of Bedrock
// Exception Library. Requires UException and UDebugging from PowerPlant.
// (Added in 1.2 port.)
//________________________________________________________________________
//
// include the TCL standard headers
//
#include "TCL #includes.cpp"
//#ifndef TCL_NO_PRECOMPILED_CLASS
//#include "CSizeBox.h" // •• CW TCL temporary
//#endif
// (dis)allow object I/O (you may comment this out when you pre-compile)
#define TCL_OBJECT_IO
// make sure to prevent attempts at including precompiled headers again
#undef TCL_PCH
#endif // #ifndef CW_TCL_HDR
z267,CW TCLHeaders.pch
//
// TCL 2.0 CodeWarrior port
//
// Precompiled headers
//
// Use this file to build the precompiled header file, instead
// of “TCL #includes.cpp” provided by Symantec.
//
// UPDATED FOR CodeWarrior CW/5
// Eric Scouten, 29 Nov 1994
//
#include "CW TCLHeaders.c"
o